<?php
if( empty($imgs)){
		return;
	}
	if(!is_array($imgs)){
		$imgs = array($imgs);
	}
?>
<?php foreach ($imgs as $img) { echo $img;}
?> 
<?php if (!empty($pagination)) { ?>
<div class='pagination clearleft'>
<?php echo $pagination;?>
</div>
<?php }?> 
	<div class='clearboth floatright alignright nicebutton padding_right20' id="button_panel" >
		<input type="submit" class="button" value="Cancel" name="cancel" id="cancel">
		<input type="submit" class="button" value="Select" name="select" id="select">
	</div>
	<?php 
	if( !empty( $content_editor_type) ){?>
		<input type="hidden" ID="content_editor_type" name="content_editor_type" value="<?php echo $content_editor_type?>" >
	<?}
	
	?>